<%@ page contentType="text/html; charset=utf-8" language="java" import="java.sql.*" errorPage="" %>
<%@ page import="java.io.*"%>
<%@ page import="requestInterFace.Handle.userHandle"%>
<%@ page import="xml.response.*"%>
<%@ page import="xml.root"%>
<%@ page import="util.print.printLogCat"%>
<%@ page import="org.sql.table.*"%>
<%@ page import="xml.var"%>
<%@ page import="java.util.Vector"%>
<%@ page import="java.util.Enumeration"%>
<%@ page import="requestInterFace.UserInfoInterFace.*"%>
<%@ page import="jqgrid.jqgrid"%>
<%@ page import="org.msg.msg"%>
<%@ include file="../../util/paramPrint.jsp" %>
<%@ page trimDirectiveWhitespaces="true" %> 
<%
String User_ID = request.getParameter("User_ID");
String userType=(String)session.getAttribute("User_Type");
String userID=(String)session.getAttribute("User_ID");
root root=new root();
if(userType==null||!userType.equals("1")){
root.setStatus("false");
root.setMsg("权限不够");
PrintWriter pw = response.getWriter();
pw.println(root.getXmlString());
pw.flush();
return ;
}
        if(User_ID==null||User_ID.equals("")||java.net.URLDecoder.decode(User_ID,"UTF-8").equals("谢朝辉")){
		root.setStatus("false");
		root.setMsg("请填写正确用户ID");
		PrintWriter pw = response.getWriter();
		pw.println(root.getXmlString());
		pw.flush();
		return ;
		}
		
		userHandle userHandle=new userHandle();
		if(User_ID!=null&&(!User_ID.equals(""))){
		 msg msg=userHandle.delectUser(userID,java.net.URLDecoder.decode(User_ID,"UTF-8"));
		 if(msg.isSuc()){
		 root.setStatus("true");
		 root.setMsg(msg.getMsg());
		 }else{
		 root.setStatus("false");
		 root.setMsg(msg.getError());
		 }
		}
		//printLogCat.printlnWriter(root.getXmlString());
		String rep=root.getXmlString();
%>
<%=rep%>